<template>
  <div id="app">
    <div id="nav">
      <tabbar v-show='$store.state.istabbarShow'>

      </tabbar>

    </div>
    <sidebar v-show="$store.state.issidebarShow"></sidebar>
    <router-view :key="$route.fullPath"/>
    
  </div>
</template>

<script>
import tabbar from '@/components/tabbar'
import sidebar from '@/components/sidebar'
export default {
  components: {
    tabbar,
    sidebar

  }
}
</script>
<style lang="scss">
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  // text-align: center;
  color: #2c3e50;
}
a{
  text-decoration: none;

}
ul li {
  list-style: none;
}
#nav {
  padding: 30px;

  a {
    font-weight: bold;
    color: #2c3e50;

    &.router-link-exact-active {
      color: #42b983;
    }
  }

}
*{
  margin: 0px;
  padding: 0px
}
</style>
